package cn.lyjuan.payment.third.base.pay.chl.impl.iap.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class LatestReceiptInfoVo {

    /**
     * The time Apple customer support canceled a transaction,
     * or the time an auto-renewable subscription plan was upgraded,
     * in a date-time format similar to the ISO 8601.
     * This field is only present for refunded transactions.
     */
    private String cancellation_date;

    /**
     * The time Apple customer support canceled a transaction, or the time an auto-renewable subscription plan was upgraded,
     * in UNIX epoch time format, in milliseconds. This field is only present for refunded transactions.
     * Use this time format for processing dates. See cancellation_date_ms for more information.
     */
    private String cancellation_date_ms;

    /**
     * The time Apple customer support canceled a transaction, or the time an auto-renewable subscription plan was upgraded,
     * in the Pacific Time zone. This field is only present for refunded transactions.
     */
    //private String cancellation_date_pst;

    /**
     * The reason for a refunded transaction. When a customer cancels a transaction,
     * the App Store gives them a refund and provides a value for this key.
     * A value of “1” indicates that the customer canceled their transaction due to an actual or perceived issue within your app.
     * A value of “0” indicates that the transaction was canceled for another reason;
     * for example, if the customer made the purchase accidentally.
     * Possible values: 1, 0
     */
    //private String cancellation_reason;

    /**
     * The time a subscription expires or when it will renew, in a date-time format similar to the ISO 8601.
     */
    //private String expires_date;

    /**
     * The time a subscription expires or when it will renew, in UNIX epoch time format, in milliseconds.
     * Use this time format for processing dates. See expires_date_ms for more information.
     */
    //private String expires_date_ms;

    /**
     * The time a subscription expires or when it will renew, in the Pacific Time zone.
     */
    //private String expires_date_pst;

    /**
     * An indicator of whether an auto-renewable subscription is in the introductory price period.
     * See is_in_intro_offer_period for more information.
     */
    //private String is_in_intro_offer_period;

    /**
     * 是否在试用期
     * An indication of whether a subscription is in the free trial period.
     * See is_trial_period for more information.
     */
    //private String is_trial_period;

    /**
     * 原始购买日期
     */
    //private String original_purchase_date;

    /**
     * 原始-购买时间戳
     */
    //private String original_purchase_date_ms;

    /**
     * 原始购买日期
     */
    //private String original_purchase_date_pst;

    /**
     * local_order_no
     */
    private String original_transaction_id;

    /**
     * 商品id
     */
    private String product_id;

    /**
     * The identifier of the subscription offer redeemed by the user.
     * See promotional_offer_id for more information.
     */
    //private String promotional_offer_id;

    /**
     * 购买日期
     */
    private String purchase_date;

    /**
     * 购买时间戳
     */
    private String purchase_date_ms;

    /**
     * 购买日期
     */
    //private String purchase_date_pst;

    /**
     * 数量
     */
    //private String quantity;

    /**
     * 交易id
     */
    private String transaction_id;

    /**
     * A unique identifier for purchase events across devices, including subscription-renewal events.
     * This value is the primary key for identifying subscription purchases.
     */
    //private String web_order_line_item_id;

}
